﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Lib.Dto
{
    public class SummaryDto:BaseDto
    {
        #region 合计

        /// <summary>
        /// 合计
        /// </summary>
        private int _sum;

        /// <summary>
        /// 合计
        /// </summary>
        public int Sum
        {
            get { return _sum; }
            set { SetProperty(ref _sum, value); }
        }

        #endregion 合计 

        #region 完成总数

        /// <summary>
        /// 完成总数
        /// </summary>
        private int _completedCount;

        /// <summary>
        /// 完成总数
        /// </summary>
        public int CompletedCount
        {
            get { return _completedCount; }
            set { SetProperty(ref _completedCount, value); }
        }

        #endregion 完成总数 

        #region 备忘总数

        /// <summary>
        /// 备忘总数
        /// </summary>
        private int _memoCount;

        /// <summary>
        /// 备忘总数
        /// </summary>
        public int MemoCount
        {
            get { return _memoCount; }
            set { SetProperty(ref _memoCount, value); }
        }

        #endregion 备忘总数 

        #region 完成百分比

        /// <summary>
        /// 完成百分比
        /// </summary>
        private string _completedRatio;

        /// <summary>
        /// 完成百分比
        /// </summary>
        public string CompletedRatio
        {
            get { return _completedRatio; }
            set { SetProperty(ref _completedRatio, value); }
        }

        #endregion 完成百分比 

        #region 待办列表

        /// <summary>
        /// 待办列表
        /// </summary>
        private ObservableCollection<ToDoDto> _todoList;

        /// <summary>
        /// 待办列表
        /// </summary>
        public ObservableCollection<ToDoDto> TodoList
        {
            get { return _todoList; }
            set { SetProperty(ref _todoList, value); }
        }

        #endregion 待办列表 

        #region 备忘列表

        /// <summary>
        /// 备忘列表
        /// </summary>
        private ObservableCollection<MemoDto> _memoList;

        /// <summary>
        /// 备忘列表
        /// </summary>
        public ObservableCollection<MemoDto> MemoList
        {
            get { return _memoList; }
            set { SetProperty(ref _memoList, value); }
        }

        #endregion 备忘列表 
    }
}
